package com.ruoyi.jhc.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.jhc.mapper.JhcQtgswfMapper;
import com.ruoyi.jhc.domain.JhcQtgswf;
import com.ruoyi.jhc.service.IJhcQtgswfService;

/**
 * 气体外发录入Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-03-04
 */
@Service
public class JhcQtgswfServiceImpl implements IJhcQtgswfService 
{
    @Autowired
    private JhcQtgswfMapper jhcQtgswfMapper;

    /**
     * 查询气体外发录入
     * 
     * @param cDate 气体外发录入主键
     * @return 气体外发录入
     */
    @Override
    public JhcQtgswf selectJhcQtgswfByCDate(String cDate)
    {
        return jhcQtgswfMapper.selectJhcQtgswfByCDate(cDate);
    }

    /**
     * 查询气体外发录入列表
     * 
     * @param jhcQtgswf 气体外发录入
     * @return 气体外发录入
     */
    @Override
    public List<JhcQtgswf> selectJhcQtgswfList(JhcQtgswf jhcQtgswf)
    {
        return jhcQtgswfMapper.selectJhcQtgswfList(jhcQtgswf);
    }

    /**
     * 新增气体外发录入
     * 
     * @param jhcQtgswf 气体外发录入
     * @return 结果
     */
    @Override
    public int insertJhcQtgswf(JhcQtgswf jhcQtgswf)
    {
        return jhcQtgswfMapper.insertJhcQtgswf(jhcQtgswf);
    }

    /**
     * 修改气体外发录入
     * 
     * @param jhcQtgswf 气体外发录入
     * @return 结果
     */
    @Override
    public int updateJhcQtgswf(JhcQtgswf jhcQtgswf)
    {
        return jhcQtgswfMapper.updateJhcQtgswf(jhcQtgswf);
    }

    /**
     * 批量删除气体外发录入
     * 
     * @param cDates 需要删除的气体外发录入主键
     * @return 结果
     */
    @Override
    public int deleteJhcQtgswfByCDates(String[] cDates)
    {
        return jhcQtgswfMapper.deleteJhcQtgswfByCDates(cDates);
    }

    /**
     * 删除气体外发录入信息
     * 
     * @param cDate 气体外发录入主键
     * @return 结果
     */
    @Override
    public int deleteJhcQtgswfByCDate(String cDate)
    {
        return jhcQtgswfMapper.deleteJhcQtgswfByCDate(cDate);
    }
}
